BeforeStartTransactionCallback

The callback that is invoked before the network transaction starts.

The callback can be used to override the HTTP headers before they are sent out.

Use the override method to modify the HTTP headers.

Use the proceed method if you do not need to modify the headers.

If the callback throws an exception, the proceed method will be invoked.

Types

Link copied to clipboard
public interface Params
The parameters of the BeforeStartTransactionCallback.
Link copied to clipboard
public interface Response

Functions

Link copied to clipboard
@CheckForNull()
public abstract R on(P params)
Invoked when the callback needs a response of type R that may be determined based on the provided callback parameters.